/*
 *  Asteroid.h
 *  GLRender
 *
 *  Created by Patrick zulian on 5/4/10.
 *  Copyright 2010 University  of Lugano. All rights reserved.
 *
 */

#ifndef ASTEROID_H
#define ASTEROID_H

#include "Base.h"
#include "WMovingObject.h"
#include "GLObject.h"


class Asteroid: public WMovingObject, public GLObject {
public:
	Asteroid(const Point3d &position, const Point3d &velocity0, const double mass = 1.0, const double radius = 1.0);
	
	virtual
	~Asteroid() { }
	
	virtual
	void renderOn(AbstractRenderer* renderer);
	void onCollision (WObject *from);
};

#endif
